package edu.sctu.alex.May.day20150508;

/**
 * Created by Administrator on 2015/5/8/0008.
 */
public class TextTwo {

  protected TextThree textThree = new TextThree();
     int sum1=0;
    int s=0;
    TextOne textOne = new TextOne();
    public int   jieGuo(){
        for (int i = 0; i <=textOne.temp ; i++) {
         sum1+=i;
        }
        textThree.x=sum1;
    return textThree.x ;
    }

}


